﻿/*
	Author : Zeus2
*/

using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.Supervise.Model.View
{
    /// <summary>
    /// User
    /// </summary>
    [Table(TableName = "jg.View_User")]
    [Serializable()]
    public class User
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserID { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPassword { get; set; }
        /// <summary>
        /// 是否管理员
        /// </summary>
        public bool? IsAdmin { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? IsUsing { get; set; }
        /// <summary>
        /// 是否在线
        /// </summary>
        public bool? IsOnline { get; set; }
        /// <summary>
        /// 上次登录
        /// </summary>
        public System.DateTime? LastLoginTime { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 机构编号
        /// </summary>
        public string OrgID { get; set; }
        /// <summary>
        /// 地区编号
        /// </summary>
        public string AreaID { get; set; }
        /// <summary>
        /// 机构名称
        /// </summary>
        public string OrgName { get; set; }
        /// <summary>
        /// 地区名称
        /// </summary>
        public string AreaName { get; set; }
    }
}